package com.it135.citytraffic.service;

import com.it135.citytraffic.pojo.entity.Crossing;
import com.baomidou.mybatisplus.extension.service.IService;
import org.springframework.stereotype.Service;

/**
 * <p>
 * 动态检测的路口 服务类
 * </p>
 *
 * @author lh
 * @since 2024-05-21
 */
@Service
public interface ICrossingService extends IService<Crossing> {


    void updateStatus(Crossing crossing);

    String predictCrossing(Long id);

    String predictRoad(Long id);

    Long insert(Crossing crossing);
}
